package com.oil.business.vo;

import cn.hutool.core.collection.CollectionUtil;
import com.oil.business.domain.TActivityInfo;
import lombok.Data;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

@Data
public class TActivityInfoVo extends TActivityInfo {
    private List<ArrayData> arrayData;
//
//    @Data
//    public class ArrayData {
//        private Integer id;
//        private Integer targetAmt;
//        private Integer reduceAmt;
//
//        public ArrayData(Integer targetAmt, Integer reduceAmt) {
//            this.targetAmt = targetAmt;
//            this.reduceAmt = reduceAmt;
//        }
//    }
//    public void pushArray(Integer targetAmt,Integer reduceAmt){
//        if (CollectionUtil.isEmpty(this.arrayData)){
//            this.arrayData=new ArrayList<>();
//        }
//        this.arrayData.add(new ArrayData(targetAmt,reduceAmt));
//
//    }
}
